#ifndef Image_H
#define Image_H
#include "main.h"
 
extern const Image image_Home;
extern const Image image_Arrow;

extern const Image image_BackgroundCombat[2];
extern const Image image_List;
extern const Image image_Planes[6];
extern const Image image_Bullet;

extern const Image image_Bigbangs[4];

extern const Image image_Material_Bigbang; 
extern const Image image_Material_HealthPoint;
extern const Image image_Material_GoldCoin; 
extern const Image image_Material_Protect;
extern const Image image_Material_AutoAim;

extern const Image image_Score;
extern const Image image_LV;
  
extern const Image image_NO1;
extern const Image image_NO2;
extern const Image image_NO3;
 
extern const Image image_Icons[];
// #define ImageGetRgb(x,y,image) (((int)(image.imageu8[((x)+(y)*(image.w))*2+1])<<8)|(int)(image.imageu8[((x)+(y)*(image.w))*2])) //return int rgb 
#define ImageGetRgb(x,y,image) (image.imageu16[(x)+(y)*(image.w)]) //return int rgb  

// #define ImageGetRgbP(x,y,image) (((int)(image->imageu8[((x)+(y)*(image->w))*2+1])<<8)|(int)(image->imageu8[((x)+(y)*(image->w))*2])) //return int rgb 
#define ImageGetRgbP(x,y,image) (image->imageu16[(x)+(y)*(image->w)]) //return int rgb 

#endif
